package com.library.bean;

import java.util.Date;

public class User {
	private int user_id;
	private String user_name;
	private int password;
	private int user_role;
	private int user_status;
	private Date create_time;
	
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public int getPassword() {
		return password;
	}
	public void setPassword(int password) {
		this.password = password;
	}
	public int getUser_role() {
		return user_role;
	}
	public void setUser_role(int user_role) {
		this.user_role = user_role;
	}
	public int getUser_status() {
		return user_status;
	}
	public void setUser_status(int user_status) {
		this.user_status = user_status;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date date) {
		this.create_time = date;
	}
	
	@Override
	public String toString() {
		return "User [user_id=" + user_id + ", user_name=" + user_name + ", password=" + password + ", user_role="
				+ user_role + ", user_status=" + user_status + ", create_time=" + create_time + "]";
	}
	
	public User(int user_id, String user_name, int password, int user_role, int user_status, Date create_time) {
		super();
		this.user_id = user_id;
		this.user_name = user_name;
		this.password = password;
		this.user_role = user_role;
		this.user_status = user_status;
		this.create_time = create_time;
	}
	
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	

}
